package com.tina.entity;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @author Tina
 * @version 1.0
 * @since 2021/10/29 17:19
 **/
@Data
public class GraphListBean {
    private List<GraphLinkPojo> graphLins;
    private List<GraphDataPojo> graphDatas;
    private List<GraphCategoriesPojo> categories;

    public GraphListBean() {
        this.graphDatas = new ArrayList<>();
        this.graphLins = new ArrayList<>();
        this.categories = new ArrayList<>();
        GraphCategoriesPojo pojo = new GraphCategoriesPojo("主干");
        GraphCategoriesPojo pojo1 = new GraphCategoriesPojo("上级");
        GraphCategoriesPojo pojo2 = new GraphCategoriesPojo("下级");
        categories.add(pojo);
        categories.add(pojo1);
        categories.add(pojo2);

    }
}
